home *** CD-ROM | disk | FTP | other *** search
- Path: news.umbc.edu!not-for-mail
- From: schlein@umbc.edu (Jonas J. Schlein)
- Newsgroups: comp.lang.c
- Subject: Re: HELP! Need command to execute COM/EXE/BAT programs
- Date: 18 Jan 1996 18:42:03 -0500
- Organization: University of Maryland Baltimore County
- Message-ID: <4dmlsb$4s9@umbc10.umbc.edu>
- References: <4di4ke$j77@news.cencom.net> <4dm4kl$t93$1@mhafc.production.compuserve.com>
- NNTP-Posting-Host: umbc10.umbc.edu
- NNTP-Posting-User: schlein
-
- Tal Garfinkel <73400.667@CompuServe.COM> wrote:
- |> use the system() function
- |>
- |> function prototype is void system(char *) I believe with the char
- |> pointer being a string with the desired command.
- |>
- |> it's in <stdlib.h>
- |>
- |> now stop asking stupid questions and buy a book or read the FAQ,
- |> doesnt anyone know how to RTFM anymore?
-
- I believe the correct prototype for system() is:
-
- int system (const char *string);
- --
- "If it wasn't for C, we would be using BASI, PASAL, and OBOL."
-
- Jonas J. Schlein (schlein@gl.umbc.edu)
-